package com.tuanquan.flutter_plugin_tengxunvideo_example;

import android.os.Bundle;

import androidx.annotation.Nullable;

import com.tencent.rtmp.TXLiveBase;
import com.tuanquan.flutter_plugin_tengxunvideo.player.FlutterTXPlayerViewFlutterPlugin;
import com.tuanquan.flutter_plugin_tengxunvideo.pusher.FlutterTXCloudVideoViewFlutterPlugin;

import io.flutter.embedding.android.FlutterActivity;

public class MainActivity extends FlutterActivity {




    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);


        //推流
        FlutterTXCloudVideoViewFlutterPlugin.registerWith(getFlutterEngine());
        //拉流  两个写一起就崩溃 应该只能在这里整一个插件
//        FlutterTXPlayerViewFlutterPlugin.registerWith(getFlutterEngine());

    }


}
